7.8
HIGH CVSS 3.1
CVE-2022-20421
Android kernel Use After Free Vulnerability in binder_inc_ref_for_node Function
Description

In binder_inc_ref_for_node of binder.c, there is a possible way to corrupt memory due to a use after free. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-239630375References: Upstream kernel

INFO

Published Date :

Oct. 11, 2022, 8:15 p.m.

Last Modified :

Nov. 21, 2024, 6:42 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2022-20421 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Google android
1 Debian debian_linux
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
Solution
The Android kernel has a use-after-free vulnerability; update kernel packages to remediate.
  • Update the affected kernel package.
  • Upgrade the linux packages.
Public PoC/Exploit Available at Github

CVE-2022-20421 has a 5 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-20421.

URL Resource
https://lists.debian.org/debian-lts-announce/2022/11/msg00001.html Mailing List Third Party Advisory
https://source.android.com/security/bulletin/2022-10-01 Patch Vendor Advisory
https://www.debian.org/security/2022/dsa-5257 Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/11/msg00001.html Mailing List Third Party Advisory
https://source.android.com/security/bulletin/2022-10-01 Patch Vendor Advisory
https://www.debian.org/security/2022/dsa-5257 Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-20421 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-20421 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Bad Spin: Android Binder Privilege Escalation Exploit (CVE-2022-20421)

Updated: 1 day, 9 hours ago
0 stars 0 fork 0 watcher
Born at : Aug. 29, 2025, 1:38 a.m. This repo has been linked 1 different CVEs too.

EndPointX is a tool designed to automate the process of decompiling APKs and extracting endpoints.

android automation binder endpoints inter-process-communication java osint recon reverse-engineering smali

Shell

Updated: 3 months, 2 weeks ago
1 stars 0 fork 0 watcher
Born at : Aug. 8, 2024, 5:08 p.m. This repo has been linked 5 different CVEs too.

None

Java Makefile C

Updated: 1 year ago
0 stars 0 fork 0 watcher
Born at : July 19, 2024, 4:06 p.m. This repo has been linked 1 different CVEs too.

Bad Spin: Android Binder Privilege Escalation Exploit (CVE-2022-20421)

Java Makefile C

Updated: 1 month, 1 week ago
259 stars 38 fork 38 watcher
Born at : March 23, 2023, 10:25 a.m. This repo has been linked 1 different CVEs too.

A collection of links related to Linux kernel security and exploitation

linux-kernel kernel-exploitation exploit privilege-escalation security

Updated: 1 month, 1 week ago
6024 stars 954 fork 954 watcher
Born at : Nov. 13, 2016, 10:21 p.m. This repo has been linked 296 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-20421 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-20421 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2022/11/msg00001.html
    Added Reference https://source.android.com/security/bulletin/2022-10-01
    Added Reference https://www.debian.org/security/2022/dsa-5257
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Dec. 03, 2022

    Action Type Old Value New Value
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2022/11/msg00001.html No Types Assigned https://lists.debian.org/debian-lts-announce/2022/11/msg00001.html Mailing List, Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Nov. 01, 2022

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2022/11/msg00001.html [No Types Assigned]
  • Modified Analysis by [email protected]

    Oct. 28, 2022

    Action Type Old Value New Value
    Changed Reference Type https://www.debian.org/security/2022/dsa-5257 No Types Assigned https://www.debian.org/security/2022/dsa-5257 Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Oct. 19, 2022

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2022/dsa-5257 [No Types Assigned]
  • Initial Analysis by [email protected]

    Oct. 13, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://source.android.com/security/bulletin/2022-10-01 No Types Assigned https://source.android.com/security/bulletin/2022-10-01 Patch, Vendor Advisory
    Added CWE NIST CWE-416
    Added CPE Configuration OR *cpe:2.3:o:google:android:-:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

5.25 }} 0.16%

score

0.89601

percentile